﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Runtime.Serialization;
using System.Data;
using System.Configuration;
using System.Web.Security;
namespace PHWCFService
{
    public class TimeSeriesData
    {
        [DataMember]
        public DateTime date { get; set; }
        [DataMember]
        public double open { get; set; }
        [DataMember]
        public double close { get; set; }
        [DataMember]
        public double high { get; set; }
        [DataMember]
        public double low { get; set; }
        [DataMember]
        public double volume { get; set; }
        [DataMember]
        public double adjclose { get; set; }

        public TimeSeriesData(DateTime dteIn, double openIn, double closeIn, double highIn, double lowIn, double volumeIn, double adjCloseIn)
        {
            date = dteIn;
            open = openIn;
            close = closeIn;
            high = highIn;
            low = lowIn;
            volume = volumeIn;
            adjclose = adjCloseIn;
        }

        public TimeSeriesData()
        {
        }
    }
}
